package com.qiku.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * article
 * @author 
 */
@Data
@TableName("article")
@Accessors(chain = true)
public class Article implements Serializable {
    @TableId
    private Long id;

    private String title;

    private String content;

    private String summary;

    private Long categoryId;

    @TableField(exist = false)
    private String categoryName;

    private String isTop;

    private String status;

    private Long viewCount;

    private String isComment;

    private String createBy;

    private String updateBy;

    private Date createTime;

    private Date updateTime;

    private Integer delFlag;

    private static final long serialVersionUID = 1L;
}